package deibay.client.commands;

import deibay.client.Command;
import deibay.client.Controller;
import deibay.messages.Message;
import deibay.messages.NotifyFinishBiddingDeadlineMsg;

public class NotifyFinishBiddingDeadlineCommand extends Command{

	public NotifyFinishBiddingDeadlineCommand(Controller controller, Message msg) {
		super(controller, msg);		
	}

	@Override
	public void execute() {
		NotifyFinishBiddingDeadlineMsg msg = (NotifyFinishBiddingDeadlineMsg)message;		
		controller.getShowMessage().showWarning("Prazo maximo do leilao", message.getMessage());
	}

}
